package mc.support.taobao.api;

import com.taobao.api.TaobaoRequest;
import com.taobao.api.request.ItemUpdateDelistingRequest;
import com.taobao.api.response.ItemUpdateDelistingResponse;

/**
 * Created with IntelliJ IDEA. <br/>
 * Author: wangming    <br/>
 * Date: 2014-11-24  <br/>
 */
public class UpdateDelistingReq extends AbstractReq<UpdateDelistingReq, ItemUpdateDelistingResponse> {

    private Long numIid;

    public UpdateDelistingReq numId( Long numIid ) {
        this.numIid = numIid;
        return this;
    }

    @Override
    protected TaobaoRequest toRequest() {
        ItemUpdateDelistingRequest req = new ItemUpdateDelistingRequest();
        if ( null != numIid ) {
            req.setNumIid( numIid );
        }
        return req;
    }
}
